package com.cb.wxy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_activity
 */
@TableName(value ="t_activity")
@Data
public class Activity implements Serializable {
    /**
     * 商品id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 商品头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 商品积分
     */
    @TableField(value = "integral")
    private Integer integral;

    /**
     * 创建时间
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * 结束时间
     */
    @TableField(value = "endtime")
    private Date endtime;

    /**
     * 状态0:上架 1：下架
     */
    @TableField(value = "state")
    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}